package com.carl.mapper;

import com.carl.model.Student;
import org.apache.ibatis.annotations.Param;

public interface StudentMapper {

    Student getStudentById(int id);

    int addStudent(Student student);

    int updateStudentName(@Param("name") String name, @Param("id") int id);

    Student getStudentByIdWithClassInfo(int id);

}
